home *** CD-ROM | disk | FTP | other *** search
- ; 私製ライブラリ・グラフィック篇
- ; (c) MATSUUCHI Ryosuke in Dec,1992
- ;
- ; gscrzoom.asm
- ;
- ; 1992.12.28(Sun)
-
-
- public gscrzoom, _gscrzoom
-
- include grplib.inc
-
- assume cs:cseg, ds:dseg
-
-
- dseg segment dword 'DATA'
- dseg ends
-
-
-
- cseg segment dword 'CODE'
-
- ;---------------------------------------------------------------
- ; _gscrzoom : 画面の拡大率の設定(現在の書き込みページ)
- ; in AH,AL:拡大率
- ;
- ; void gscrzoom(int xrate, int yrate);
- ;---------------------------------------------------------------
-
- gscrzoom proc
- push ebx
- mov ah,2
- mov al,2 ;画面の拡大
- mov dx,[esp+8]
- mov bx,[esp+12]
- call _callEGB
- pop ebx
- ret
- gscrzoom endp
-
-
-
- _gscrzoom proc
- pushad
- xor dx,dx
- xor bx,bx
- mov dl,ah
- mov bl,al
- mov al,2
- mov ah,02h
- call _callEGB
- popad
- ret
- _gscrzoom endp
-
-
-
- cseg ends
-
- end
-